package com.ruoyi.project.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 收成对象 business_harvest
 * 
 * @author ruoyi
 * @date 2020-10-22
 */
public class BusinessHarvest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收成ID */
    private Long id;

    /** 土地ID */
    @Excel(name = "土地ID")
    private Long areaId;

    /** 收获的果实 */
    @Excel(name = "收获的果实")
    private String harvest;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String picture;

    /** 重量 */
    @Excel(name = "重量")
    private String weight;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** (1未出售 2出售中 3 已出售) */
    @Excel(name = "(1未出售 2出售中 3 已出售)")
    private Long saleStatus;
    @Excel(name = "农田服务订单ID")
    private Long serviceOrderId;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setHarvest(String harvest) 
    {
        this.harvest = harvest;
    }

    public String getHarvest() 
    {
        return harvest;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setWeight(String weight) 
    {
        this.weight = weight;
    }

    public String getWeight() 
    {
        return weight;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSaleStatus(Long saleStatus) 
    {
        this.saleStatus = saleStatus;
    }

    public Long getSaleStatus() 
    {
        return saleStatus;
    }

    public Long getServiceOrderId() {
        return serviceOrderId;
    }

    public void setServiceOrderId(Long serviceOrderId) {
        this.serviceOrderId = serviceOrderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("harvest", getHarvest())
            .append("picture", getPicture())
            .append("weight", getWeight())
            .append("userId", getUserId())
            .append("saleStatus", getSaleStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
